package com.mop.app.dal.query;

import java.util.Date;

/**
 * 资源表查询对象
 *
 * @author wchen
 * @since 2020-02-27
 */
public class AppSourceQuery {

    /**
     * 类别id
     */
    private Long categoryId;

    /**
     * 标题
     */
    private String title;

    /**
     * 图片
     */
    private String pic;

    /**
     * 下载链接
     */
    private String downloadLink;

    /**
     * 链接描述
     */
    private String description;

    /**
     * 当前版本编号
     */
    private String versionNo;

    /**
     * 版本描述
     */
    private String versionDesc;

    /**
     * 查看次数
     */
    private Integer viewTimes;

    /**
     * 获取次数
     */
    private Integer getTimes;

    /**
     * 删除标识 1是 0否
     */
    private String deleteFlag;

    /**
     * 创建时间
     */
    private Date gmtCreateBegin;

    private Date gmtCreateEnd;

    /**
     * 修改时间
     */
    private Date gmtModifiedBegin;

    private Date gmtModifiedEnd;

    public Long getCategoryId() {
        return categoryId;
    }

    public AppSourceQuery setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public AppSourceQuery setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getPic() {
        return pic;
    }

    public AppSourceQuery setPic(String pic) {
        this.pic = pic;
        return this;
    }

    public String getDownloadLink() {
        return downloadLink;
    }

    public AppSourceQuery setDownloadLink(String downloadLink) {
        this.downloadLink = downloadLink;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public AppSourceQuery setDescription(String description) {
        this.description = description;
        return this;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public AppSourceQuery setVersionNo(String versionNo) {
        this.versionNo = versionNo;
        return this;
    }

    public String getVersionDesc() {
        return versionDesc;
    }

    public AppSourceQuery setVersionDesc(String versionDesc) {
        this.versionDesc = versionDesc;
        return this;
    }

    public Integer getViewTimes() {
        return viewTimes;
    }

    public AppSourceQuery setViewTimes(Integer viewTimes) {
        this.viewTimes = viewTimes;
        return this;
    }

    public Integer getGetTimes() {
        return getTimes;
    }

    public AppSourceQuery setGetTimes(Integer getTimes) {
        this.getTimes = getTimes;
        return this;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public AppSourceQuery setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
        return this;
    }

    public Date getGmtCreateBegin() {
        return gmtCreateBegin;
    }

    public AppSourceQuery setGmtCreateBegin(Date gmtCreateBegin) {
        this.gmtCreateBegin = gmtCreateBegin;
        return this;
    }

    public Date getGmtCreateEnd() {
        return gmtCreateEnd;
    }

    public AppSourceQuery setGmtCreateEnd(Date gmtCreateEnd) {
        this.gmtCreateEnd = gmtCreateEnd;
        return this;
    }


    public Date getGmtModifiedBegin() {
        return gmtModifiedBegin;
    }

    public AppSourceQuery setGmtModifiedBegin(Date gmtModifiedBegin) {
        this.gmtModifiedBegin = gmtModifiedBegin;
        return this;
    }

    public Date getGmtModifiedEnd() {
        return gmtModifiedEnd;
    }

    public AppSourceQuery setGmtModifiedEnd(Date gmtModifiedEnd) {
        this.gmtModifiedEnd = gmtModifiedEnd;
        return this;
    }



    @Override
    public String toString() {
        return "AppSource{" +
        "categoryId=" + categoryId +
        ", title=" + title +
        ", pic=" + pic +
        ", downloadLink=" + downloadLink +
        ", description=" + description +
        ", versionNo=" + versionNo +
        ", versionDesc=" + versionDesc +
        ", viewTimes=" + viewTimes +
        ", getTimes=" + getTimes +
        ", deleteFlag=" + deleteFlag +
        ", gmtCreateBegin=" + gmtCreateBegin +
        ", gmtCreateEnd=" + gmtCreateEnd +
        ", gmtModifiedBegin=" + gmtModifiedBegin +
        ", gmtModifiedEnd=" + gmtModifiedEnd +
        "}";
    }
}
